<?php

$dbname = "irous";
$dbname = "irou";
$dbuser = "postgres";
$dbhost = "localhost";
$dbport = "5432";
$dbpass = "genpass";


/* config application here */
$ENABLE_LOGIN = true;
$AUTH_TYPE = 'NORMAL'; // NORMAL | ADVANCE | LDAP | 
$SHOW_COPYRIGHT = false;
//$ENABLE_FRAME = false;
$USE_FIXED_MENU = true;
$USE_FRAME_MENU = false;
$MENU_WIDTH = '220';
$THEME = 'neosis';
$TITLE = 'Kesatuan Pegawai-Pegawai Hasil Dalam Negeri';
$AUTO_TEST_INSERT = FALSE;

//IROU ONLY
$WAJIB_YURAN = 6;
$WAJIB_SUMBANGAN = 3; 
$WAJIB_TABUNG = 1;

$WAJIB_BAYAR = $WAJIB_YURAN + $WAJIB_SUMBANGAN + $WAJIB_TABUNG;
//END IROU ONLY


/* config for adodb */
require_once('include/adodb/adodb-active-record.inc.php');
define('ADODB_ASSOC_CASE', 2);
include ("include/adodb/adodb.inc.php");
$DB = NewADOConnection('pgsql');
$DB->Connect($dbhost, $dbuser, $dbpass, $dbname);
ADOdb_Active_Record::SetDatabaseAdapter($DB);
//$ADODB_ASSOC_CASE = 0;

//$DB->debug = true;

define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'otamu_settings.php');

//error_reporting(1);

?>